<%--
  Created by IntelliJ IDEA.
  User: lushengjie
  Date: 2021/9/24
  Time: 20:17
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>简历制作</title>
    <link rel="icon" href="/hire/imgs/favicon.ico" type="image/x-icon"/>
    <link rel="stylesheet" href="/hire/css/resume/resume_make.css">
    <link rel="stylesheet" href="/hire/plugins/layui/css/layui.css">
    <script src="/hire/plugins/layui/layui.js"></script>
    <script src="/hire/plugins/jquery/jquery.min.js"></script>
</head>
<body>
<%--${resume}--%>

<%@include file="../../common/mynav.jsp" %>
<div id="resume">
    <input type="hidden" value="${resume.resume.id}" id="resumeId">
    <input type="hidden" value="${resume.resume.updateTime}" id="updateTime">
    <c:forEach items="${resume.educationList}" var="education">
        <input type="hidden" value="${education.id}" name="educationId">
    </c:forEach>
    <c:forEach items="${resume.internList}" var="intern">
        <input type="hidden" value="${intern.id}" id="internId">
    </c:forEach>
    <c:forEach items="${resume.projectList}" var="project">
        <input type="hidden" value="${project.id}" id="projectId">
    </c:forEach>
    <c:forEach items="${resume.awardList}" var="award">
        <input type="hidden" value="${award.id}" id="awardId">
    </c:forEach>
    <div class="mybody">
        <div class="nav_left">
            <span>简历目录</span>
            <ul>
                <li><a href="#one">基础信息</a></li>
                <li><a href="#two">求职偏好</a></li>
                <li><a href="#three">教育经历</a></li>
                <li><a href="#four">实习经历</a></li>
                <li><a href="#five">项目经历</a></li>
                <li><a href="#six">获奖经历</a></li>
                <li><a href="#seven">个人总结</a></li>
            </ul>
        </div>
        <!-- 中间简历信息  -->
        <div class="center">
            <div class="resumer-online"><h2>在线简历</h2></div>
            <!--  个人信息  -->
            <div class="personal-inf" id="one">

                <div id="basic_info"></div>
                <div id="basic_edit"></div>

            </div>
            <!-- 个人信息尾部 -->
            <!-- 求职偏好 -->
            <div class="job_pre">
                <h3 class="title" id="two"><span>|&nbsp</span>求职偏好</h3>
                <div id="job_info"></div>
                <div id="job_edit"></div>

            </div>
            <!-- 求职偏好尾部  -->
            <!-- 教育经历 -->
            <div class="edu_experience">
                <h3 class="title" id="three"><span>|&nbsp</span>教育经历</h3>
                    <div class="add">
                        <button id="add_edu" onclick="insertEdu()">添加</button>
                    </div>
                <div id="edu_info"></div>
                <div id="edu_edit"></div>
            </div>
            <!-- 教育经历尾部 -->
            <!--实习经历 -->
            <div class="intern_experience">
                <h3 class="title" id="four"><span>|&nbsp</span>实习经历</h3>
                <div class="add">
                    <button id="add_intern" onclick="insertIntern()">添加</button>
                </div>
                <div id="intern_info"></div>
                <div id="intern_edit"></div>

            </div>
            <!-- 实习经历尾部 -->
            <!-- 项目经历 -->
            <div class="project_experience">
                <h3 class="title" id="five"><span>|&nbsp</span>项目经历</h3>
                <div class="add">
                    <button id="add_project" onclick="insertProject()">添加</button>
                </div>
                <div id="pro_info"></div>
                <div id="pro_edit"></div>

            </div>
            <!-- 项目经历尾部 -->
            <!-- 获奖经历 -->
            <div class="award_experience">
                <h3 class="title" id="six"><span>|&nbsp</span>获奖经历</h3>
                <div class="add">
                    <button id="add_award" onclick="insertAward()">添加</button>
                </div>
                <div id="award_info"></div>
                <div id="award_edit"></div>

            </div>
            <!-- 获奖经历尾部 -->

            <!-- 个人总结 -->
            <div class="personal_summary">
                <h3 class="title" id="seven"><span>|&nbsp</span>个人总结</h3>
                <div id="sum_edit"></div>
                <div id="sum_info"></div>
            </div>
            <!-- 个人总结尾部 -->
        </div>
        <div class="right">
            <div class="upload_resume">
                <h3>上传附件</h3>
                <p>
                    &nbsp&nbsp&nbsp&nbsp你的简历还不完善，请上传简历附件。
                </p>
                <p>
                    &nbsp&nbsp&nbsp&nbsp支持导入格式：DOC、DOCX、PDF格式文件，文件大小不超过10M。
                </p>
                <button><a href="/hire/resume/resume_upload"><span>上传附件</span></a></button>
            </div>
            <div class="preview_create_refresh">
                <ul>
                    <li><a href="javascript:create_method();"><img src="/hire/imgs/create.png" alt=""><br>新建简历</a></li>
                    <li><a href="javascript:preview_method();"><img src="/hire/imgs/preview.png" alt=""><br>简历预览</a></li>
                    <li><a href="javascript:refresh_method();"><img src="/hire/imgs/refresh.png" alt=""><br>简历刷新</a></li>
                </ul>
            </div>
        </div>
    </div>
</div>
<%@include file="../../common/myfooter.jsp" %>
<script src="/hire/js/resume/resume_make.js"></script>
</body>
</html>